package metier;

/**
 * Created with IntelliJ IDEA.
 * User: keita
 * Date: 13/06/13
 * Time: 16:19
 */
public class Price extends Value {
    private int lastSize;
    private int volume;
     private double bidPrice, askPrice, lastPrice, closePrice, lowPrice;
    private int canAutoExecute;

    public Price(double bidPrice, double askPrice, double lastPrice, double closePrice, double lowPrice, int canAutoExecute) {
        this.bidPrice = bidPrice;
        this.askPrice = askPrice;
        this.lastPrice = lastPrice;
        this.closePrice = closePrice;
        this.lowPrice = lowPrice;
        this.canAutoExecute = canAutoExecute;
    }

    public double getBidPrice() {
        return bidPrice;
    }

    public double getAskPrice() {
        return askPrice;
    }

    public double getLastPrice() {
        return lastPrice;
    }

    public double getClosePrice() {
        return closePrice;
    }

    public double getLowPrice() {
        return lowPrice;
    }

    public int getCanAutoExecute() {
        return canAutoExecute;
    }

    public void setBidPrice(double bidPrice) {
        this.bidPrice = bidPrice;
    }

    public void setAskPrice(double askPrice) {
        this.askPrice = askPrice;
    }

    public void setLastPrice(double lastPrice) {
        this.lastPrice = lastPrice;
    }

    public void setClosePrice(double closePrice) {
        this.closePrice = closePrice;
    }

    public void setLowPrice(double lowPrice) {
        this.lowPrice = lowPrice;
    }

    public void setCanAutoExecute(int canAutoExecute) {
        this.canAutoExecute = canAutoExecute;
    }
}
